﻿namespace Tmp.Models;

public class UploadClock
{
    private DownloadLimit _limit;

    public UploadClock(DownloadLimit limit)
    {
        _limit = limit;
    }
    public void  Reset()
    {
        _limit.CurrentDownload = DownloadLimit.MaxDownloadBytesPerLoginOrDay;
    }
}

public class DownloadLimit
{
    public const long DownloadBytes = 100000000;
    public const long MaxDownloadBytesPerLoginOrDay = 500000000;
    public long CurrentDownload = DownloadBytes;
}